/**
 * Copyright (c) 2018 人人开源 All rights reserved.
 *
 * https://www.renren.io
 *
 * 版权所有，侵权必究！
 */

package com.api.entity.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;


/**
 * 注册表单
 *

 */
@Data
@Schema(title = "注册表单")
public class RegisterDTO {
    @Schema(title = "账号")
    @NotBlank(message="账号不能为空")
    private String username;


    @Schema(title = "密码")
    @NotBlank(message="密码不能为空")
    private String password;

    @Schema(title = "昵称")
    @NotBlank(message="昵称不能为空")
    private String nickName;

    @Schema(title = "工资")
    @NotBlank(message="工资不能为空")
    private Double salary;

    @Schema(title = "学校")
    @NotBlank(message="毕业学校不能为空")
    private String university;


    @Schema(title = "岗位")
    @NotBlank(message="岗位学校不能为空")
    private String post;


    @Schema(title = "头像")
    @NotBlank(message="头像学校不能为空")
    private String profile;

}
